<template>
    <div class="bodyStyle">
        <div v-html="taskInfo.memo"></div>
        <div style="height: 120px;width: 100%;"></div>
    </div>
</template>

<script setup>
import { ref, computed, onMounted } from 'vue';
import { getTask, getAppSetting, getQuestion } from '@/api/task.js';

const taskInfo = ref({
    startTime: "",
    endTime: "",
    awards: [],
    organizer: "",
    memo: "",
    awardsPoints: '',
})

const taskId = localStorage.getItem('taskId')

getTaskInfo();

function getTaskInfo() {
    getTask(taskId).then(res => {
        console.log(res)
        taskInfo.value = res.data;
    })
}

</script>
<style lang="less" scoped>
.bodyStyle {
    width: 95%;
    margin: 0 2.5%;
}
</style>